package com.qk.management.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qk.common.PageResult;
import com.qk.dto.activity.AddActivityDTO;
import com.qk.dto.activity.UpdateActivityDTO;
import com.qk.entity.Activity;
import com.qk.dto.activity.QueryPageActivityDTO;

import java.util.List;

/**
 * @Author:gzc
 * @Date: 2025/10/06 21:09
 * @Description:
 */
public interface ActivityService extends IService<Activity> {

    PageResult<Activity> queryListByPage(QueryPageActivityDTO queryPageActivityDTO);


    void deleteById(Integer id);


    void addActivity(AddActivityDTO addActivityDTO);


    Activity queryById(Integer id);

    void updateActivity(UpdateActivityDTO updateActivityDTO);


    List<Activity> queryByType(Integer type);
}
